<template>
  <div id="app">
    <transition
        :key="key"
        name="fade"
    >
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>

export default {
  data() {
    return {
      key: new Date().valueOf()
    };
  }
}
</script>

<style>
  html,body{
    height: 100%;
    font-size: calc(16/768*100vw);
    overflow: hidden;
    margin: 0;
  }
  h3 {
    margin: 40px 0 0;
  }
  ul {
    list-style-type: none;
    padding: 0;
  }
  li {
    display: inline-block;
    margin: 0 10px;
  }
  a {
    color: #42b983;
  }
  #app {
    height: 100%;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    background: #000000;
    padding: 0 20px;
  }
  .screen{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .box-row .el-col{
    height: 100%;
  }
  .box-card{
    background: #262626!important;
    border-color: #262626!important;
    color: #ffffff!important;
    height: 100%;
  }
  .box-info{
    font-size: 0.9rem;
    padding: 5px;
  }
  .box-large{
    font-size: 1.5rem;
    margin-top: 1rem;
  }
  .chart-info{
    font-size: 0.75rem;
    text-align: left;
  }
  .font-green{
    color: green;
  }
  .font-red{
    color: red;
  }
  .font-yellow{
    color: yellow;
  }
  .font-blue{
    color: #1989fa;
  }
  .border-green{
    border-color: green;
  }
  .border-red{
    border-color: red;
  }
  .border-yellow{
    border-color: yellow;
  }
  .border-blue{
    border-color: #1989fa;
  }
  .span-circle{
    border-radius: 50%;
    display: inline-block;
    padding: 1px 0.4rem;
    border: 1px solid;
  }
  .mr-5{
    margin-right: 5px;
  }
  .mb-20{
    margin-bottom: 0.5rem;
  }
  .pos-relative{
    position: relative;
  }
  .pos-absolute{
    position: absolute;
  }
  .change-page{
    position: fixed;
    top: 5px;
    left: 5px;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    color: #ffffff;
    font-size: 0.75rem;
    transform: rotate(-90deg);
  }
  .chartPie-info{
    right: 5%;
    bottom: 30%;
  }
  .chartPie{
    width: 100%;
    height: 33vh;
  }


</style>
